package com.TJU.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.TJU.po.StaffClassesRecord;
import com.TJU.vo.ChangeArrangementInfo;
import com.TJU.vo.EmployeeGroupingRecord;
import com.TJU.vo.QueryArrangementVo;

public interface StaffClassesRecordMapper {
    int deleteByPrimaryKey(Integer staffclassesrecordid);

    int insert(StaffClassesRecord record);

    int insertSelective(StaffClassesRecord record);

    StaffClassesRecord selectByPrimaryKey(Integer staffclassesrecordid);

    int updateByPrimaryKeySelective(StaffClassesRecord record);

    int updateByPrimaryKey(StaffClassesRecord record);
    /** 查询班组信息**/
    List<QueryArrangementVo> selectClassGroup();
    /**
     * 查询班组员工分班记录
     */
    List<EmployeeGroupingRecord>  selectGroupRecord(@Param("goupid")int goupid, @Param("bginDate")String bginDate, @Param("endDate")String endDate);
   /**更改班组排班信息**/
    int updatePaiBanXinXi(@Param("listInsert")List<ChangeArrangementInfo>listInsert, @Param("deleteIds")int[] deleteIds,
                          @Param("listUpdate")List<ChangeArrangementInfo>listUpdate, @Param("groupid") int groupid);
	

}